package algorithmPractice;

/*
 *@Description TODO
 *@Author llt
 *@Date 2021/5/17 20:26
 *@Version 1.0
 */
public class Node {

    public int value;

    public Node next;

    public Node(int value) {
        this.value = value;
    }

    public Node(int value, Node next) {
        this.value = value;
        this.next = next;
    }

    public int getValue() {
        return value;
    }

    public void setValue(int value) {
        this.value = value;
    }

    public Node getNext() {
        return next;
    }

    public void setNext(Node next) {
        this.next = next;
    }
}
